<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="../../css/base.css" type="text/css" rel="stylesheet" />
<link href="../../css/manage.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../../js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="../../js/jquery.default.js"></script>
<script type="text/javascript" src="../../js/jquery.validate.js"></script>
<!--[if ie]><link href="../../css/ie.css" type="text/css" rel="stylesheet"><![endif]-->
<script type="text/javascript">
	$(function(){
		jQuery.validator.addMethod("phone", function(value, element) { var length = value.length; var mobile = /^(((13[0-9]{1})|(15[0-9]{1}))+\d{8})$/;var tel = /^(0[0-9]{2,3}\-)?([2-9][0-9]{6,7})+(\-[0-9]{1,4})?$/; return this.optional(element) || (length == 11 && mobile.test(value))||(tel.test(value)); }, "手机号码格式错误");

	
		$("#add_street").validate({
			rules:{
				street_name:{
					required:true
				},
				store_sorts:{
					required:true
				},
				culture:{
					required:true
				}
				
			},
			messages:{
				street_name:{
					required:"街道名称不能为空！"
				},
				store_sorts:{
					required:"请选择所属区域！"
				},
				culture:{
					required:"历史文化不能为空！"
				}
			},
			errorPlacement:function(error,element){
				error.appendTo(element.siblings("div.validate_v"));
			}
		});
		
		
	})
</script>
</head>

<body>
	<!-- head -->
    <div class="w100p">
    	<div class="head_top_wrap">
        	<div class="w903 mg top_menu_box">
            	<div class="login_status_menu">
                	<span>欢迎，<i>douyacai</i></span>
                    <a href="#">信箱[0]</a>
                    <a href="#">积分[10]</a>
                    <a href="#">个人首页</a>
                    <a href="#">管理中心</a>
                    <a href="#">安全退出</a>
                </div>
            </div>
        </div>
        <div class="head_down_wrap">
        	<div class="w903 mg clearfix">
            	<div class="logo fl"><a href="#"><img src="../../images/common/logo.png" class="block" /></a></div>
            	<ul class="main_menu">
                	<li>
                    	<a href="#">首页</a>
                    </li>
                    <li>
                    	<a href="#">小店</a>
                    </li>
                    <li>
                    	<a href="#">大街小巷</a>
                    </li>
                </ul>
                <div class="search_box">
                	<input type="text" class="txt" />
                    <input type="button" class="btn" />
                </div>
            </div>    	
        </div>
    </div>
    <!-- head--end-->
    
    <!-- body -->
    <div class="w100p mt40 mb20">
    	<div class="w903 mg">
        	<div class="box_s1">
            	<div class="b_head"></div>
                <div class="content m_pd_s1">
                	<!-- manage-top -->
                	<div class="manage_top">
                    	<h1 class="title">我的空间</h1>
                        <div class="lr_box">
                        	<a href="#" class="l_box"><img src="../../images/others/pic_64x64.png" class="block" /></a>
                            <div class="r_box">
                            	<a href="#" class="name clr_s1">doyacai的管理中心</a>
                            </div>
                        </div>
                        <div class="box_s2">
                        	<div class="b_head"></div>
                            <div class="content m_menu_box">
                            	<ul class="m_menu">
                                	<li>
                                    	<a href="#">小店</a>
                                    </li>
                                    <li class="current">
                                    	<a href="#">街道</a>
                                    </li>
                                    <li>
                                    	<a href="#">相册管理</a>
                                    </li>
                                    <li>
                                    	<a href="#">空间日志</a>
                                    </li>
                                    <li>
                                    	<a href="#">关注管理</a>
                                    </li>
                                    <li>
                                    	<a href="#">个人设置</a>
                                    </li>
                                </ul>
                            </div>
                            <div class="b_foot"></div>
                        </div>
                    </div>
                    <!-- manage-top--end-->
                    
                    <!-- manage-det-->
                    <div class="clearfix">
                    	<div class="box_s3 fl">
                        	<div class="b_head"></div>
                            <div class="content m_slider_box">
                            	<ul class="m_slider_menu">
                                	<li class="current" >
                                    	<a href="#">添加街道</a>
                                    </li>
                                    <li>
                                    	<a href="#">我住在</a>
                                    </li>
                                    <li >
                                    	<a href="#">添加的</a>
                                    </li>
                                    <li >
                                    	<a href="#">管理的</a>
                                    </li>
                                    <li>
                                    	<a href="#">我的街道话题</a>
                                    </li>
                                    <li>
                                    	<a href="#">申请街道主任</a>
                                    </li>
                                    
                                </ul>
                            </div>
                            <div class="b_foot"></div>
                        </div>
                        
                        <!-- right-ope-->
                        <div class=" m_layout_s1">
                        	<div class="m_pd_s2">
                            	<div class="form_box street">
                                	<h3>添加街道</h3>
                                    <p class="tip_2">请勿上传我们已收录的街道</p>
                                    <form action="" id="add_street">
                                        <table class="com_form com_form_s1">
                                            <tbody>
                                                <tr>
                                                    <td width="99" class="col1 ">街道名称</td><td><input type="text" class="def_txt_s4" name="street_name"><br class="clear" /><div class="validate_v" ></div></td>
                                                </tr>
                                                <tr>
                                                    <td width="99" class="col1">English name</td><td><input type="text" class="def_txt_s4"></td>
                                                </tr>
                                                <tr>
                                                    <td width="99" class="col1">所属区域</td>
                                                    <td>
                                                        <div class="select_wrap select_wrap_s1" style="z-index:100"><div class=" def_drop_s1 drop"><span>请选择所属区域</span></div><input type="hidden" name="store_sorts" sdataid="id1" sdatavalue="value1"><br class="clear"><div class="validate_v"></div>
                                                            <div class="select_data_box select" style="display: none; ">
                                                                <p dataid="id1" datavalue="value1" class="hover">您的出生地在哪里？</p>
                                                                <p dataid="id2" datavalue="value2" class="">您就读的小学学校名称？您就读的小学学校名称？您就读的小学学校名称？</p>
                                                                <p dataid="id3" datavalue="value3" class="">你的家庭地址是多少号？</p>
                                                            </div>
                                                        </div>
                                            		</td>
                                                </tr>
                                                <tr>
                                                    <td width="99" class="col1 top">历史文化</td><td><textarea class="def_ta_s1" name="culture"></textarea><br class="clear" /><div class="validate_v" ></div></td>
                                                </tr>
                                                <tr>
                                                    <td width="99" class="col1">形象图片</td><td><input type="text" class="def_txt_s4"><div class="upfile_wrap"><a href="javascript:void(0);" class="def_btn_s5 upload">browse</a><input type="file" class="opacity_file" /></div><span class="pic_tip">照片尺寸180x180px</span></td>
                                                </tr>
                                                <tr>
                                                    <td width="99" class="col1"></td><td><div><input type="submit" class="def_btn_s5" value="保存"></div></td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </form>
                                    
                                </div>
                            </div>
                        </div>
                        <!-- right-ope--end-->
                        
                        <div class="clear"></div>
                    </div>
                    <!-- manage-det--end-->
                    
                </div>
                <div class="b_foot"></div>
            </div>
        </div>
    </div>
    
    <!-- body--end-->
    
    <!-- foot-->
    <div class="footer_wrap">
    	<div class="w903 mg foot">
        	<div class="foot_menu">
            	<a href="#">关于我们</a>
                <a href="#">广告服务</a>
                <a href="#">使用帮助</a>
                <a href="#">加入我们</a>
                <a href="#">免责声明</a>
                <a href="#">给我们意见</a>
            </div>
            <div class="copyright">
            	Copyright © 2012 街边小店 版权所有  ©沪ICP备10026245号
            </div>
            <div class="share_box">
            	<a href="#" class="icon_s1"></a>
                <a href="#" class="icon_s2"></a>
            </div>
        </div>
    </div>
    <!-- foot--end-->	
</body>
</html>
